package com.jxc.entity;

/**
 * Moduleandsub entity. @author MyEclipse Persistence Tools
 */

public class Moduleandsub implements java.io.Serializable {

	// Fields

	private Integer id;
	private Module module;
	private Submodule submodule;

	// Constructors

	/** default constructor */
	public Moduleandsub() {
	}

	/** full constructor */
	public Moduleandsub(Module module, Submodule submodule) {
		this.module = module;
		this.submodule = submodule;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Module getModule() {
		return this.module;
	}

	public void setModule(Module module) {
		this.module = module;
	}

	public Submodule getSubmodule() {
		return this.submodule;
	}

	public void setSubmodule(Submodule submodule) {
		this.submodule = submodule;
	}

}